import mongoose from "mongoose";

export const connectDB = async () => {
  await mongoose
    .connect(
      "mongodb+srv://1772232900_db_user:waq12345@cluster0.p7gndr1.mongodb.net/?appName=Cluster0"
    )
    .then(() => console.log("Connected to MongoDB"));
};
